package com.smart_environmental_protection.dao;

import com.smart_environmental_protection.pojo.Content;
import com.smart_environmental_protection.pojo.Notice;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoticeDao {
    @Select({"select * from s_notice"})
    List<Notice> NoticeList();
    @Select({"select * from s_notice where id=#{id}"})
    Notice NoticeDetail(int id);
}
